{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Highstock Demos\n",
    "================\n",
    "Flags marking events: http://www.highcharts.com/stock/demo/flags-general\n",
    "--------------------------------------------------------------------\n",
    "\n",
    "This example generates the same chart as flags-general.py\n",
    "But instead of copying from the website, the dataset is queried direcly using jsonp_loader\n",
    "The json doc from the url is not in the correct format (lack of quotes), so the sub_d and sub_by parameters\n",
    "are used to fix the problem."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<iframe style=\"border:0;outline:none;overflow:hidden\" srcdoc=\"&lt;!DOCTYPE html&gt;\n",
       "&lt;html lang=&quot;en&quot;&gt;\n",
       "    &lt;head&gt;\n",
       "        &lt;meta charset=&quot;utf-8&quot; /&gt;\n",
       "        &lt;link href=&quot;https://www.highcharts.com/highslide/highslide.css&quot; rel=&quot;stylesheet&quot; /&gt;\n",
       "        &lt;script type=&quot;text/javascript&quot; src=&quot;https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js&quot;&gt;&lt;/script&gt;\n",
       "        &lt;script type=&quot;text/javascript&quot; src=&quot;https://code.highcharts.com/stock/highstock.js&quot;&gt;&lt;/script&gt;\n",
       "        &lt;script type=&quot;text/javascript&quot; src=&quot;https://code.highcharts.com/stock/modules/exporting.js&quot;&gt;&lt;/script&gt;\n",
       "        &lt;script type=&quot;text/javascript&quot; src=&quot;https://code.highcharts.com/highcharts-more.js&quot;&gt;&lt;/script&gt;\n",
       "    &lt;/head&gt;\n",
       "    &lt;body style=&quot;margin:0;padding:0&quot;&gt;\n",
       "                &lt;div id=&quot;container&quot; style=&quot;&quot;&gt;Loading....&lt;/div&gt;\n",
       "\n",
       "\n",
       "    &lt;script&gt;\n",
       "        $(function(){\n",
       "\n",
       "\n",
       " \n",
       "\n",
       "\n",
       "\n",
       "\n",
       "            Highcharts.setOptions({&quot;lang&quot;: {}, &quot;global&quot;: {}});\n",
       "            var option = {&quot;loading&quot;: {}, &quot;subtitle&quot;: {}, &quot;title&quot;: {&quot;text&quot;: &quot;USD to EUR exchange rate&quot;}, &quot;series&quot;: {}, &quot;labels&quot;: {}, &quot;yAxis&quot;: {&quot;title&quot;: {&quot;text&quot;: &quot;Exchange rate&quot;}}, &quot;chart&quot;: {&quot;renderTo&quot;: &quot;container&quot;}, &quot;tooltip&quot;: {&quot;shared&quot;: true, &quot;style&quot;: {&quot;width&quot;: &quot;200px&quot;}, &quot;valueDecimals&quot;: 4}, &quot;plotOptions&quot;: {}, &quot;credits&quot;: {&quot;enabled&quot;: false}, &quot;colors&quot;: {}, &quot;scrollbar&quot;: {}, &quot;xAxis&quot;: {}, &quot;exporting&quot;: {}, &quot;rangeSelector&quot;: {&quot;selected&quot;: 0}, &quot;navigator&quot;: {}, &quot;navigation&quot;: {}, &quot;legend&quot;: {}};\n",
       "\n",
       "            var data = [{&quot;name&quot;: &quot;USD to EUR&quot;, &quot;type&quot;: &quot;line&quot;, &quot;data&quot;: [[Date.UTC(2013,5,2,0,0,0,0), 0.7695], [Date.UTC(2013,5,3,0,0,0,0), 0.7648], [Date.UTC(2013,5,4,0,0,0,0), 0.7645], [Date.UTC(2013,5,5,0,0,0,0), 0.7638], [Date.UTC(2013,5,6,0,0,0,0), 0.7549], [Date.UTC(2013,5,7,0,0,0,0), 0.7562], [Date.UTC(2013,5,9,0,0,0,0), 0.7574], [Date.UTC(2013,5,10,0,0,0,0), 0.7543], [Date.UTC(2013,5,11,0,0,0,0), 0.751], [Date.UTC(2013,5,12,0,0,0,0), 0.7498], [Date.UTC(2013,5,13,0,0,0,0), 0.7477], [Date.UTC(2013,5,14,0,0,0,0), 0.7492], [Date.UTC(2013,5,16,0,0,0,0), 0.7487], [Date.UTC(2013,5,17,0,0,0,0), 0.748], [Date.UTC(2013,5,18,0,0,0,0), 0.7466], [Date.UTC(2013,5,19,0,0,0,0), 0.7521], [Date.UTC(2013,5,20,0,0,0,0), 0.7564], [Date.UTC(2013,5,21,0,0,0,0), 0.7621], [Date.UTC(2013,5,23,0,0,0,0), 0.763], [Date.UTC(2013,5,24,0,0,0,0), 0.7623], [Date.UTC(2013,5,25,0,0,0,0), 0.7644], [Date.UTC(2013,5,26,0,0,0,0), 0.7685], [Date.UTC(2013,5,27,0,0,0,0), 0.7671], [Date.UTC(2013,5,28,0,0,0,0), 0.7687], [Date.UTC(2013,5,30,0,0,0,0), 0.7687], [Date.UTC(2013,6,1,0,0,0,0), 0.7654], [Date.UTC(2013,6,2,0,0,0,0), 0.7705], [Date.UTC(2013,6,3,0,0,0,0), 0.7687], [Date.UTC(2013,6,4,0,0,0,0), 0.7744], [Date.UTC(2013,6,5,0,0,0,0), 0.7793], [Date.UTC(2013,6,7,0,0,0,0), 0.7804], [Date.UTC(2013,6,8,0,0,0,0), 0.777], [Date.UTC(2013,6,9,0,0,0,0), 0.7824], [Date.UTC(2013,6,10,0,0,0,0), 0.7705], [Date.UTC(2013,6,11,0,0,0,0), 0.7635], [Date.UTC(2013,6,12,0,0,0,0), 0.7652], [Date.UTC(2013,6,14,0,0,0,0), 0.7656], [Date.UTC(2013,6,15,0,0,0,0), 0.7655], [Date.UTC(2013,6,16,0,0,0,0), 0.7598], [Date.UTC(2013,6,17,0,0,0,0), 0.7619], [Date.UTC(2013,6,18,0,0,0,0), 0.7628], [Date.UTC(2013,6,19,0,0,0,0), 0.7609], [Date.UTC(2013,6,21,0,0,0,0), 0.7599], [Date.UTC(2013,6,22,0,0,0,0), 0.7584], [Date.UTC(2013,6,23,0,0,0,0), 0.7562], [Date.UTC(2013,6,24,0,0,0,0), 0.7575], [Date.UTC(2013,6,25,0,0,0,0), 0.7531], [Date.UTC(2013,6,26,0,0,0,0), 0.753], [Date.UTC(2013,6,28,0,0,0,0), 0.7526], [Date.UTC(2013,6,29,0,0,0,0), 0.754], [Date.UTC(2013,6,30,0,0,0,0), 0.754], [Date.UTC(2013,6,31,0,0,0,0), 0.7518], [Date.UTC(2013,7,1,0,0,0,0), 0.7571], [Date.UTC(2013,7,2,0,0,0,0), 0.7529], [Date.UTC(2013,7,4,0,0,0,0), 0.7532], [Date.UTC(2013,7,5,0,0,0,0), 0.7542], [Date.UTC(2013,7,6,0,0,0,0), 0.7515], [Date.UTC(2013,7,7,0,0,0,0), 0.7498], [Date.UTC(2013,7,8,0,0,0,0), 0.7473], [Date.UTC(2013,7,9,0,0,0,0), 0.7494], [Date.UTC(2013,7,11,0,0,0,0), 0.7497], [Date.UTC(2013,7,12,0,0,0,0), 0.7519], [Date.UTC(2013,7,13,0,0,0,0), 0.754], [Date.UTC(2013,7,14,0,0,0,0), 0.7543], [Date.UTC(2013,7,15,0,0,0,0), 0.7492], [Date.UTC(2013,7,16,0,0,0,0), 0.7502], [Date.UTC(2013,7,18,0,0,0,0), 0.7503], [Date.UTC(2013,7,19,0,0,0,0), 0.7499], [Date.UTC(2013,7,20,0,0,0,0), 0.7453], [Date.UTC(2013,7,21,0,0,0,0), 0.7487], [Date.UTC(2013,7,22,0,0,0,0), 0.7487], [Date.UTC(2013,7,23,0,0,0,0), 0.7472], [Date.UTC(2013,7,25,0,0,0,0), 0.7471], [Date.UTC(2013,7,26,0,0,0,0), 0.748], [Date.UTC(2013,7,27,0,0,0,0), 0.7467], [Date.UTC(2013,7,28,0,0,0,0), 0.7497], [Date.UTC(2013,7,29,0,0,0,0), 0.7552], [Date.UTC(2013,7,30,0,0,0,0), 0.7562], [Date.UTC(2013,8,1,0,0,0,0), 0.7572], [Date.UTC(2013,8,2,0,0,0,0), 0.7581], [Date.UTC(2013,8,3,0,0,0,0), 0.7593], [Date.UTC(2013,8,4,0,0,0,0), 0.7571], [Date.UTC(2013,8,5,0,0,0,0), 0.7622], [Date.UTC(2013,8,6,0,0,0,0), 0.7588], [Date.UTC(2013,8,8,0,0,0,0), 0.7591], [Date.UTC(2013,8,9,0,0,0,0), 0.7544], [Date.UTC(2013,8,10,0,0,0,0), 0.7537], [Date.UTC(2013,8,11,0,0,0,0), 0.7512], [Date.UTC(2013,8,12,0,0,0,0), 0.7519], [Date.UTC(2013,8,13,0,0,0,0), 0.7522], [Date.UTC(2013,8,15,0,0,0,0), 0.7486], [Date.UTC(2013,8,16,0,0,0,0), 0.75], [Date.UTC(2013,8,17,0,0,0,0), 0.7486], [Date.UTC(2013,8,18,0,0,0,0), 0.7396], [Date.UTC(2013,8,19,0,0,0,0), 0.7391], [Date.UTC(2013,8,20,0,0,0,0), 0.7394], [Date.UTC(2013,8,22,0,0,0,0), 0.7389], [Date.UTC(2013,8,23,0,0,0,0), 0.7411], [Date.UTC(2013,8,24,0,0,0,0), 0.7422], [Date.UTC(2013,8,25,0,0,0,0), 0.7393], [Date.UTC(2013,8,26,0,0,0,0), 0.7413], [Date.UTC(2013,8,27,0,0,0,0), 0.7396], [Date.UTC(2013,8,29,0,0,0,0), 0.741], [Date.UTC(2013,8,30,0,0,0,0), 0.7393], [Date.UTC(2013,9,1,0,0,0,0), 0.7393], [Date.UTC(2013,9,2,0,0,0,0), 0.7365], [Date.UTC(2013,9,3,0,0,0,0), 0.7343], [Date.UTC(2013,9,4,0,0,0,0), 0.7376], [Date.UTC(2013,9,6,0,0,0,0), 0.737], [Date.UTC(2013,9,7,0,0,0,0), 0.7362], [Date.UTC(2013,9,8,0,0,0,0), 0.7368], [Date.UTC(2013,9,9,0,0,0,0), 0.7393], [Date.UTC(2013,9,10,0,0,0,0), 0.7397], [Date.UTC(2013,9,11,0,0,0,0), 0.7385], [Date.UTC(2013,9,13,0,0,0,0), 0.7377], [Date.UTC(2013,9,14,0,0,0,0), 0.7374], [Date.UTC(2013,9,15,0,0,0,0), 0.7395], [Date.UTC(2013,9,16,0,0,0,0), 0.7389], [Date.UTC(2013,9,17,0,0,0,0), 0.7312], [Date.UTC(2013,9,18,0,0,0,0), 0.7307], [Date.UTC(2013,9,20,0,0,0,0), 0.7309], [Date.UTC(2013,9,21,0,0,0,0), 0.7308], [Date.UTC(2013,9,22,0,0,0,0), 0.7256], [Date.UTC(2013,9,23,0,0,0,0), 0.7258], [Date.UTC(2013,9,24,0,0,0,0), 0.7247], [Date.UTC(2013,9,25,0,0,0,0), 0.7244], [Date.UTC(2013,9,27,0,0,0,0), 0.7244], [Date.UTC(2013,9,28,0,0,0,0), 0.7255], [Date.UTC(2013,9,29,0,0,0,0), 0.7275], [Date.UTC(2013,9,30,0,0,0,0), 0.728], [Date.UTC(2013,9,31,0,0,0,0), 0.7361], [Date.UTC(2013,10,1,0,0,0,0), 0.7415], [Date.UTC(2013,10,3,0,0,0,0), 0.7411], [Date.UTC(2013,10,4,0,0,0,0), 0.7399], [Date.UTC(2013,10,5,0,0,0,0), 0.7421], [Date.UTC(2013,10,6,0,0,0,0), 0.74], [Date.UTC(2013,10,7,0,0,0,0), 0.7452], [Date.UTC(2013,10,8,0,0,0,0), 0.7479], [Date.UTC(2013,10,10,0,0,0,0), 0.7492], [Date.UTC(2013,10,11,0,0,0,0), 0.746], [Date.UTC(2013,10,12,0,0,0,0), 0.7442], [Date.UTC(2013,10,13,0,0,0,0), 0.7415], [Date.UTC(2013,10,14,0,0,0,0), 0.7429], [Date.UTC(2013,10,15,0,0,0,0), 0.741], [Date.UTC(2013,10,17,0,0,0,0), 0.7417], [Date.UTC(2013,10,18,0,0,0,0), 0.7405], [Date.UTC(2013,10,19,0,0,0,0), 0.7386], [Date.UTC(2013,10,20,0,0,0,0), 0.7441], [Date.UTC(2013,10,21,0,0,0,0), 0.7418], [Date.UTC(2013,10,22,0,0,0,0), 0.7376], [Date.UTC(2013,10,24,0,0,0,0), 0.7379], [Date.UTC(2013,10,25,0,0,0,0), 0.7399], [Date.UTC(2013,10,26,0,0,0,0), 0.7369], [Date.UTC(2013,10,27,0,0,0,0), 0.7365], [Date.UTC(2013,10,28,0,0,0,0), 0.735], [Date.UTC(2013,10,29,0,0,0,0), 0.7358], [Date.UTC(2013,11,1,0,0,0,0), 0.7362], [Date.UTC(2013,11,2,0,0,0,0), 0.7385], [Date.UTC(2013,11,3,0,0,0,0), 0.7359], [Date.UTC(2013,11,4,0,0,0,0), 0.7357], [Date.UTC(2013,11,5,0,0,0,0), 0.7317], [Date.UTC(2013,11,6,0,0,0,0), 0.7297], [Date.UTC(2013,11,8,0,0,0,0), 0.7296], [Date.UTC(2013,11,9,0,0,0,0), 0.7279], [Date.UTC(2013,11,10,0,0,0,0), 0.7267], [Date.UTC(2013,11,11,0,0,0,0), 0.7254], [Date.UTC(2013,11,12,0,0,0,0), 0.727], [Date.UTC(2013,11,13,0,0,0,0), 0.7276], [Date.UTC(2013,11,15,0,0,0,0), 0.7278], [Date.UTC(2013,11,16,0,0,0,0), 0.7267], [Date.UTC(2013,11,17,0,0,0,0), 0.7263], [Date.UTC(2013,11,18,0,0,0,0), 0.7307], [Date.UTC(2013,11,19,0,0,0,0), 0.7319], [Date.UTC(2013,11,20,0,0,0,0), 0.7315], [Date.UTC(2013,11,22,0,0,0,0), 0.7311], [Date.UTC(2013,11,23,0,0,0,0), 0.7301], [Date.UTC(2013,11,24,0,0,0,0), 0.7308], [Date.UTC(2013,11,25,0,0,0,0), 0.731], [Date.UTC(2013,11,26,0,0,0,0), 0.7304], [Date.UTC(2013,11,27,0,0,0,0), 0.7277], [Date.UTC(2013,11,29,0,0,0,0), 0.7272], [Date.UTC(2013,11,30,0,0,0,0), 0.7244], [Date.UTC(2013,11,31,0,0,0,0), 0.7275], [Date.UTC(2014,0,1,0,0,0,0), 0.7271], [Date.UTC(2014,0,2,0,0,0,0), 0.7314], [Date.UTC(2014,0,3,0,0,0,0), 0.7359], [Date.UTC(2014,0,5,0,0,0,0), 0.7355], [Date.UTC(2014,0,6,0,0,0,0), 0.7338], [Date.UTC(2014,0,7,0,0,0,0), 0.7345], [Date.UTC(2014,0,8,0,0,0,0), 0.7366], [Date.UTC(2014,0,9,0,0,0,0), 0.7349], [Date.UTC(2014,0,10,0,0,0,0), 0.7316], [Date.UTC(2014,0,12,0,0,0,0), 0.7315], [Date.UTC(2014,0,13,0,0,0,0), 0.7315], [Date.UTC(2014,0,14,0,0,0,0), 0.731], [Date.UTC(2014,0,15,0,0,0,0), 0.735], [Date.UTC(2014,0,16,0,0,0,0), 0.7341], [Date.UTC(2014,0,17,0,0,0,0), 0.7385], [Date.UTC(2014,0,19,0,0,0,0), 0.7392], [Date.UTC(2014,0,20,0,0,0,0), 0.7379], [Date.UTC(2014,0,21,0,0,0,0), 0.7373], [Date.UTC(2014,0,22,0,0,0,0), 0.7381], [Date.UTC(2014,0,23,0,0,0,0), 0.7301], [Date.UTC(2014,0,24,0,0,0,0), 0.7311], [Date.UTC(2014,0,26,0,0,0,0), 0.7306], [Date.UTC(2014,0,27,0,0,0,0), 0.7314], [Date.UTC(2014,0,28,0,0,0,0), 0.7316], [Date.UTC(2014,0,29,0,0,0,0), 0.7319], [Date.UTC(2014,0,30,0,0,0,0), 0.7377], [Date.UTC(2014,0,31,0,0,0,0), 0.7415], [Date.UTC(2014,1,2,0,0,0,0), 0.7414], [Date.UTC(2014,1,3,0,0,0,0), 0.7393], [Date.UTC(2014,1,4,0,0,0,0), 0.7397], [Date.UTC(2014,1,5,0,0,0,0), 0.7389], [Date.UTC(2014,1,6,0,0,0,0), 0.7358], [Date.UTC(2014,1,7,0,0,0,0), 0.7334], [Date.UTC(2014,1,9,0,0,0,0), 0.7343], [Date.UTC(2014,1,10,0,0,0,0), 0.7328], [Date.UTC(2014,1,11,0,0,0,0), 0.7332], [Date.UTC(2014,1,12,0,0,0,0), 0.7356], [Date.UTC(2014,1,13,0,0,0,0), 0.7309], [Date.UTC(2014,1,14,0,0,0,0), 0.7304], [Date.UTC(2014,1,16,0,0,0,0), 0.73], [Date.UTC(2014,1,17,0,0,0,0), 0.7295], [Date.UTC(2014,1,18,0,0,0,0), 0.7268], [Date.UTC(2014,1,19,0,0,0,0), 0.7281], [Date.UTC(2014,1,20,0,0,0,0), 0.7289], [Date.UTC(2014,1,21,0,0,0,0), 0.7278], [Date.UTC(2014,1,23,0,0,0,0), 0.728], [Date.UTC(2014,1,24,0,0,0,0), 0.728], [Date.UTC(2014,1,25,0,0,0,0), 0.7275], [Date.UTC(2014,1,26,0,0,0,0), 0.7306], [Date.UTC(2014,1,27,0,0,0,0), 0.7295], [Date.UTC(2014,1,28,0,0,0,0), 0.7245], [Date.UTC(2014,2,2,0,0,0,0), 0.7259], [Date.UTC(2014,2,3,0,0,0,0), 0.728], [Date.UTC(2014,2,4,0,0,0,0), 0.7276], [Date.UTC(2014,2,5,0,0,0,0), 0.7282], [Date.UTC(2014,2,6,0,0,0,0), 0.7215], [Date.UTC(2014,2,7,0,0,0,0), 0.7206], [Date.UTC(2014,2,9,0,0,0,0), 0.7206], [Date.UTC(2014,2,10,0,0,0,0), 0.7207], [Date.UTC(2014,2,11,0,0,0,0), 0.7216], [Date.UTC(2014,2,12,0,0,0,0), 0.7192], [Date.UTC(2014,2,13,0,0,0,0), 0.721], [Date.UTC(2014,2,14,0,0,0,0), 0.7187], [Date.UTC(2014,2,16,0,0,0,0), 0.7188], [Date.UTC(2014,2,17,0,0,0,0), 0.7183], [Date.UTC(2014,2,18,0,0,0,0), 0.7177], [Date.UTC(2014,2,19,0,0,0,0), 0.7229], [Date.UTC(2014,2,20,0,0,0,0), 0.7258], [Date.UTC(2014,2,21,0,0,0,0), 0.7249], [Date.UTC(2014,2,23,0,0,0,0), 0.7247], [Date.UTC(2014,2,24,0,0,0,0), 0.7226], [Date.UTC(2014,2,25,0,0,0,0), 0.7232], [Date.UTC(2014,2,26,0,0,0,0), 0.7255], [Date.UTC(2014,2,27,0,0,0,0), 0.7278], [Date.UTC(2014,2,28,0,0,0,0), 0.7271], [Date.UTC(2014,2,30,0,0,0,0), 0.7272], [Date.UTC(2014,2,31,0,0,0,0), 0.7261], [Date.UTC(2014,3,1,0,0,0,0), 0.725], [Date.UTC(2014,3,2,0,0,0,0), 0.7264], [Date.UTC(2014,3,3,0,0,0,0), 0.7289], [Date.UTC(2014,3,4,0,0,0,0), 0.7298], [Date.UTC(2014,3,6,0,0,0,0), 0.7298], [Date.UTC(2014,3,7,0,0,0,0), 0.7278], [Date.UTC(2014,3,8,0,0,0,0), 0.7248], [Date.UTC(2014,3,9,0,0,0,0), 0.7218], [Date.UTC(2014,3,10,0,0,0,0), 0.72], [Date.UTC(2014,3,11,0,0,0,0), 0.7202], [Date.UTC(2014,3,13,0,0,0,0), 0.7222], [Date.UTC(2014,3,14,0,0,0,0), 0.7236], [Date.UTC(2014,3,15,0,0,0,0), 0.7239], [Date.UTC(2014,3,16,0,0,0,0), 0.7238], [Date.UTC(2014,3,17,0,0,0,0), 0.7238], [Date.UTC(2014,3,18,0,0,0,0), 0.7238], [Date.UTC(2014,3,20,0,0,0,0), 0.7239], [Date.UTC(2014,3,21,0,0,0,0), 0.725], [Date.UTC(2014,3,22,0,0,0,0), 0.7244], [Date.UTC(2014,3,23,0,0,0,0), 0.7238], [Date.UTC(2014,3,24,0,0,0,0), 0.7229], [Date.UTC(2014,3,25,0,0,0,0), 0.7229], [Date.UTC(2014,3,27,0,0,0,0), 0.7226], [Date.UTC(2014,3,28,0,0,0,0), 0.722], [Date.UTC(2014,3,29,0,0,0,0), 0.724], [Date.UTC(2014,3,30,0,0,0,0), 0.7211], [Date.UTC(2014,4,1,0,0,0,0), 0.721], [Date.UTC(2014,4,2,0,0,0,0), 0.7209], [Date.UTC(2014,4,4,0,0,0,0), 0.7209], [Date.UTC(2014,4,5,0,0,0,0), 0.7207], [Date.UTC(2014,4,6,0,0,0,0), 0.718], [Date.UTC(2014,4,7,0,0,0,0), 0.7188], [Date.UTC(2014,4,8,0,0,0,0), 0.7225], [Date.UTC(2014,4,9,0,0,0,0), 0.7268], [Date.UTC(2014,4,11,0,0,0,0), 0.7267], [Date.UTC(2014,4,12,0,0,0,0), 0.7269], [Date.UTC(2014,4,13,0,0,0,0), 0.7297], [Date.UTC(2014,4,14,0,0,0,0), 0.7291], [Date.UTC(2014,4,15,0,0,0,0), 0.7294], [Date.UTC(2014,4,16,0,0,0,0), 0.7302], [Date.UTC(2014,4,18,0,0,0,0), 0.7298], [Date.UTC(2014,4,19,0,0,0,0), 0.7295], [Date.UTC(2014,4,20,0,0,0,0), 0.7298], [Date.UTC(2014,4,21,0,0,0,0), 0.7307], [Date.UTC(2014,4,22,0,0,0,0), 0.7323], [Date.UTC(2014,4,23,0,0,0,0), 0.7335], [Date.UTC(2014,4,25,0,0,0,0), 0.7338], [Date.UTC(2014,4,26,0,0,0,0), 0.7329], [Date.UTC(2014,4,27,0,0,0,0), 0.7335], [Date.UTC(2014,4,28,0,0,0,0), 0.7358], [Date.UTC(2014,4,29,0,0,0,0), 0.7351], [Date.UTC(2014,4,30,0,0,0,0), 0.7337], [Date.UTC(2014,5,1,0,0,0,0), 0.7338], [Date.UTC(2014,5,2,0,0,0,0), 0.7355], [Date.UTC(2014,5,3,0,0,0,0), 0.7338], [Date.UTC(2014,5,4,0,0,0,0), 0.7353], [Date.UTC(2014,5,5,0,0,0,0), 0.7321], [Date.UTC(2014,5,6,0,0,0,0), 0.733], [Date.UTC(2014,5,8,0,0,0,0), 0.7327], [Date.UTC(2014,5,9,0,0,0,0), 0.7356], [Date.UTC(2014,5,10,0,0,0,0), 0.7381], [Date.UTC(2014,5,11,0,0,0,0), 0.7389], [Date.UTC(2014,5,12,0,0,0,0), 0.7379], [Date.UTC(2014,5,13,0,0,0,0), 0.7384], [Date.UTC(2014,5,15,0,0,0,0), 0.7388], [Date.UTC(2014,5,16,0,0,0,0), 0.7367], [Date.UTC(2014,5,17,0,0,0,0), 0.7382], [Date.UTC(2014,5,18,0,0,0,0), 0.7356], [Date.UTC(2014,5,19,0,0,0,0), 0.7349], [Date.UTC(2014,5,20,0,0,0,0), 0.7353], [Date.UTC(2014,5,22,0,0,0,0), 0.7357], [Date.UTC(2014,5,23,0,0,0,0), 0.735], [Date.UTC(2014,5,24,0,0,0,0), 0.735], [Date.UTC(2014,5,25,0,0,0,0), 0.7337], [Date.UTC(2014,5,26,0,0,0,0), 0.7347], [Date.UTC(2014,5,27,0,0,0,0), 0.7327], [Date.UTC(2014,5,29,0,0,0,0), 0.733], [Date.UTC(2014,5,30,0,0,0,0), 0.7304], [Date.UTC(2014,6,1,0,0,0,0), 0.731], [Date.UTC(2014,6,2,0,0,0,0), 0.732], [Date.UTC(2014,6,3,0,0,0,0), 0.7347], [Date.UTC(2014,6,4,0,0,0,0), 0.7356], [Date.UTC(2014,6,6,0,0,0,0), 0.736], [Date.UTC(2014,6,7,0,0,0,0), 0.735], [Date.UTC(2014,6,8,0,0,0,0), 0.7346], [Date.UTC(2014,6,9,0,0,0,0), 0.7329], [Date.UTC(2014,6,10,0,0,0,0), 0.7348], [Date.UTC(2014,6,11,0,0,0,0), 0.7349], [Date.UTC(2014,6,13,0,0,0,0), 0.7352], [Date.UTC(2014,6,14,0,0,0,0), 0.7342], [Date.UTC(2014,6,15,0,0,0,0), 0.7369], [Date.UTC(2014,6,16,0,0,0,0), 0.7393], [Date.UTC(2014,6,17,0,0,0,0), 0.7392], [Date.UTC(2014,6,18,0,0,0,0), 0.7394], [Date.UTC(2014,6,20,0,0,0,0), 0.739], [Date.UTC(2014,6,21,0,0,0,0), 0.7395], [Date.UTC(2014,6,22,0,0,0,0), 0.7427], [Date.UTC(2014,6,23,0,0,0,0), 0.7427], [Date.UTC(2014,6,24,0,0,0,0), 0.7428], [Date.UTC(2014,6,25,0,0,0,0), 0.7446], [Date.UTC(2014,6,27,0,0,0,0), 0.7447], [Date.UTC(2014,6,28,0,0,0,0), 0.744], [Date.UTC(2014,6,29,0,0,0,0), 0.7458], [Date.UTC(2014,6,30,0,0,0,0), 0.7464], [Date.UTC(2014,6,31,0,0,0,0), 0.7469], [Date.UTC(2014,7,1,0,0,0,0), 0.7446], [Date.UTC(2014,7,3,0,0,0,0), 0.7447], [Date.UTC(2014,7,4,0,0,0,0), 0.745], [Date.UTC(2014,7,5,0,0,0,0), 0.7477], [Date.UTC(2014,7,6,0,0,0,0), 0.7472], [Date.UTC(2014,7,7,0,0,0,0), 0.7483], [Date.UTC(2014,7,8,0,0,0,0), 0.7457], [Date.UTC(2014,7,10,0,0,0,0), 0.746], [Date.UTC(2014,7,11,0,0,0,0), 0.747], [Date.UTC(2014,7,12,0,0,0,0), 0.748], [Date.UTC(2014,7,13,0,0,0,0), 0.7482], [Date.UTC(2014,7,14,0,0,0,0), 0.7482], [Date.UTC(2014,7,15,0,0,0,0), 0.7463], [Date.UTC(2014,7,17,0,0,0,0), 0.7469], [Date.UTC(2014,7,18,0,0,0,0), 0.7483], [Date.UTC(2014,7,19,0,0,0,0), 0.7508], [Date.UTC(2014,7,20,0,0,0,0), 0.7541], [Date.UTC(2014,7,21,0,0,0,0), 0.7529], [Date.UTC(2014,7,22,0,0,0,0), 0.7551], [Date.UTC(2014,7,24,0,0,0,0), 0.7577], [Date.UTC(2014,7,25,0,0,0,0), 0.758], [Date.UTC(2014,7,26,0,0,0,0), 0.7593], [Date.UTC(2014,7,27,0,0,0,0), 0.758], [Date.UTC(2014,7,28,0,0,0,0), 0.7585], [Date.UTC(2014,7,29,0,0,0,0), 0.7614], [Date.UTC(2014,7,31,0,0,0,0), 0.7618], [Date.UTC(2014,8,1,0,0,0,0), 0.7618], [Date.UTC(2014,8,2,0,0,0,0), 0.7614], [Date.UTC(2014,8,3,0,0,0,0), 0.7604], [Date.UTC(2014,8,4,0,0,0,0), 0.7725], [Date.UTC(2014,8,5,0,0,0,0), 0.7722], [Date.UTC(2014,8,7,0,0,0,0), 0.7721], [Date.UTC(2014,8,8,0,0,0,0), 0.7753], [Date.UTC(2014,8,9,0,0,0,0), 0.773], [Date.UTC(2014,8,10,0,0,0,0), 0.7742], [Date.UTC(2014,8,11,0,0,0,0), 0.7736], [Date.UTC(2014,8,12,0,0,0,0), 0.7713], [Date.UTC(2014,8,14,0,0,0,0), 0.7717], [Date.UTC(2014,8,15,0,0,0,0), 0.7727], [Date.UTC(2014,8,16,0,0,0,0), 0.7716], [Date.UTC(2014,8,17,0,0,0,0), 0.7772], [Date.UTC(2014,8,18,0,0,0,0), 0.7739], [Date.UTC(2014,8,19,0,0,0,0), 0.7794], [Date.UTC(2014,8,21,0,0,0,0), 0.7788], [Date.UTC(2014,8,22,0,0,0,0), 0.7782], [Date.UTC(2014,8,23,0,0,0,0), 0.7784], [Date.UTC(2014,8,24,0,0,0,0), 0.7824], [Date.UTC(2014,8,25,0,0,0,0), 0.7843], [Date.UTC(2014,8,26,0,0,0,0), 0.7884], [Date.UTC(2014,8,28,0,0,0,0), 0.7891], [Date.UTC(2014,8,29,0,0,0,0), 0.7883], [Date.UTC(2014,8,30,0,0,0,0), 0.7916], [Date.UTC(2014,9,1,0,0,0,0), 0.7922], [Date.UTC(2014,9,2,0,0,0,0), 0.7893], [Date.UTC(2014,9,3,0,0,0,0), 0.7989], [Date.UTC(2014,9,5,0,0,0,0), 0.7992], [Date.UTC(2014,9,6,0,0,0,0), 0.7903], [Date.UTC(2014,9,7,0,0,0,0), 0.7893], [Date.UTC(2014,9,8,0,0,0,0), 0.7853], [Date.UTC(2014,9,9,0,0,0,0), 0.788], [Date.UTC(2014,9,10,0,0,0,0), 0.7919], [Date.UTC(2014,9,12,0,0,0,0), 0.7912], [Date.UTC(2014,9,13,0,0,0,0), 0.7842], [Date.UTC(2014,9,14,0,0,0,0), 0.79], [Date.UTC(2014,9,15,0,0,0,0), 0.779], [Date.UTC(2014,9,16,0,0,0,0), 0.7806], [Date.UTC(2014,9,17,0,0,0,0), 0.7835], [Date.UTC(2014,9,19,0,0,0,0), 0.7844], [Date.UTC(2014,9,20,0,0,0,0), 0.7813], [Date.UTC(2014,9,21,0,0,0,0), 0.7864], [Date.UTC(2014,9,22,0,0,0,0), 0.7905], [Date.UTC(2014,9,23,0,0,0,0), 0.7907], [Date.UTC(2014,9,24,0,0,0,0), 0.7893], [Date.UTC(2014,9,26,0,0,0,0), 0.7889], [Date.UTC(2014,9,27,0,0,0,0), 0.7875], [Date.UTC(2014,9,28,0,0,0,0), 0.7853], [Date.UTC(2014,9,29,0,0,0,0), 0.7916], [Date.UTC(2014,9,30,0,0,0,0), 0.7929], [Date.UTC(2014,9,31,0,0,0,0), 0.7984], [Date.UTC(2014,10,2,0,0,0,0), 0.7999], [Date.UTC(2014,10,3,0,0,0,0), 0.8012], [Date.UTC(2014,10,4,0,0,0,0), 0.7971], [Date.UTC(2014,10,5,0,0,0,0), 0.8009], [Date.UTC(2014,10,6,0,0,0,0), 0.8081], [Date.UTC(2014,10,7,0,0,0,0), 0.803], [Date.UTC(2014,10,9,0,0,0,0), 0.8025], [Date.UTC(2014,10,10,0,0,0,0), 0.8051], [Date.UTC(2014,10,11,0,0,0,0), 0.8016], [Date.UTC(2014,10,12,0,0,0,0), 0.804], [Date.UTC(2014,10,13,0,0,0,0), 0.8015], [Date.UTC(2014,10,14,0,0,0,0), 0.7985], [Date.UTC(2014,10,16,0,0,0,0), 0.7988], [Date.UTC(2014,10,17,0,0,0,0), 0.8032], [Date.UTC(2014,10,18,0,0,0,0), 0.7976], [Date.UTC(2014,10,19,0,0,0,0), 0.7965], [Date.UTC(2014,10,20,0,0,0,0), 0.7975], [Date.UTC(2014,10,21,0,0,0,0), 0.8071], [Date.UTC(2014,10,23,0,0,0,0), 0.8082], [Date.UTC(2014,10,24,0,0,0,0), 0.8037], [Date.UTC(2014,10,25,0,0,0,0), 0.8016], [Date.UTC(2014,10,26,0,0,0,0), 0.7996], [Date.UTC(2014,10,27,0,0,0,0), 0.8022], [Date.UTC(2014,10,28,0,0,0,0), 0.8031], [Date.UTC(2014,10,30,0,0,0,0), 0.804], [Date.UTC(2014,11,1,0,0,0,0), 0.802], [Date.UTC(2014,11,2,0,0,0,0), 0.8075], [Date.UTC(2014,11,3,0,0,0,0), 0.8123], [Date.UTC(2014,11,4,0,0,0,0), 0.8078], [Date.UTC(2014,11,5,0,0,0,0), 0.8139], [Date.UTC(2014,11,7,0,0,0,0), 0.8135], [Date.UTC(2014,11,8,0,0,0,0), 0.8119], [Date.UTC(2014,11,9,0,0,0,0), 0.8081], [Date.UTC(2014,11,10,0,0,0,0), 0.8034], [Date.UTC(2014,11,11,0,0,0,0), 0.8057], [Date.UTC(2014,11,12,0,0,0,0), 0.8024], [Date.UTC(2014,11,14,0,0,0,0), 0.8024], [Date.UTC(2014,11,15,0,0,0,0), 0.804], [Date.UTC(2014,11,16,0,0,0,0), 0.7993], [Date.UTC(2014,11,17,0,0,0,0), 0.8102], [Date.UTC(2014,11,18,0,0,0,0), 0.8139], [Date.UTC(2014,11,19,0,0,0,0), 0.8177], [Date.UTC(2014,11,21,0,0,0,0), 0.818], [Date.UTC(2014,11,22,0,0,0,0), 0.8176], [Date.UTC(2014,11,23,0,0,0,0), 0.8215], [Date.UTC(2014,11,24,0,0,0,0), 0.82], [Date.UTC(2014,11,25,0,0,0,0), 0.8182], [Date.UTC(2014,11,26,0,0,0,0), 0.8213], [Date.UTC(2014,11,28,0,0,0,0), 0.8218], [Date.UTC(2014,11,29,0,0,0,0), 0.8229], [Date.UTC(2014,11,30,0,0,0,0), 0.8225], [Date.UTC(2014,11,31,0,0,0,0), 0.8266], [Date.UTC(2015,0,1,0,0,0,0), 0.8262], [Date.UTC(2015,0,2,0,0,0,0), 0.8331], [Date.UTC(2015,0,4,0,0,0,0), 0.8371], [Date.UTC(2015,0,5,0,0,0,0), 0.838], [Date.UTC(2015,0,6,0,0,0,0), 0.8411], [Date.UTC(2015,0,7,0,0,0,0), 0.8447], [Date.UTC(2015,0,8,0,0,0,0), 0.848], [Date.UTC(2015,0,9,0,0,0,0), 0.8445], [Date.UTC(2015,0,11,0,0,0,0), 0.8425], [Date.UTC(2015,0,12,0,0,0,0), 0.8451], [Date.UTC(2015,0,13,0,0,0,0), 0.8495], [Date.UTC(2015,0,14,0,0,0,0), 0.8482], [Date.UTC(2015,0,15,0,0,0,0), 0.8598], [Date.UTC(2015,0,16,0,0,0,0), 0.8643], [Date.UTC(2015,0,18,0,0,0,0), 0.8648], [Date.UTC(2015,0,19,0,0,0,0), 0.8617], [Date.UTC(2015,0,20,0,0,0,0), 0.8658], [Date.UTC(2015,0,21,0,0,0,0), 0.8613], [Date.UTC(2015,0,22,0,0,0,0), 0.8798], [Date.UTC(2015,0,23,0,0,0,0), 0.8922], [Date.UTC(2015,0,25,0,0,0,0), 0.899], [Date.UTC(2015,0,26,0,0,0,0), 0.8898], [Date.UTC(2015,0,27,0,0,0,0), 0.8787], [Date.UTC(2015,0,28,0,0,0,0), 0.8859], [Date.UTC(2015,0,29,0,0,0,0), 0.8834], [Date.UTC(2015,0,30,0,0,0,0), 0.8859], [Date.UTC(2015,1,1,0,0,0,0), 0.8843], [Date.UTC(2015,1,2,0,0,0,0), 0.8817], [Date.UTC(2015,1,3,0,0,0,0), 0.871], [Date.UTC(2015,1,4,0,0,0,0), 0.8813], [Date.UTC(2015,1,5,0,0,0,0), 0.8713], [Date.UTC(2015,1,6,0,0,0,0), 0.8837], [Date.UTC(2015,1,8,0,0,0,0), 0.8839], [Date.UTC(2015,1,9,0,0,0,0), 0.8831], [Date.UTC(2015,1,10,0,0,0,0), 0.8833], [Date.UTC(2015,1,11,0,0,0,0), 0.8823], [Date.UTC(2015,1,12,0,0,0,0), 0.877], [Date.UTC(2015,1,13,0,0,0,0), 0.8783], [Date.UTC(2015,1,15,0,0,0,0), 0.8774], [Date.UTC(2015,1,16,0,0,0,0), 0.8807], [Date.UTC(2015,1,17,0,0,0,0), 0.8762], [Date.UTC(2015,1,18,0,0,0,0), 0.8774], [Date.UTC(2015,1,19,0,0,0,0), 0.8798], [Date.UTC(2015,1,20,0,0,0,0), 0.8787], [Date.UTC(2015,1,22,0,0,0,0), 0.8787], [Date.UTC(2015,1,23,0,0,0,0), 0.8824], [Date.UTC(2015,1,24,0,0,0,0), 0.8818], [Date.UTC(2015,1,25,0,0,0,0), 0.8801], [Date.UTC(2015,1,26,0,0,0,0), 0.8931], [Date.UTC(2015,1,27,0,0,0,0), 0.8932], [Date.UTC(2015,2,1,0,0,0,0), 0.896], [Date.UTC(2015,2,2,0,0,0,0), 0.8941], [Date.UTC(2015,2,3,0,0,0,0), 0.8948], [Date.UTC(2015,2,4,0,0,0,0), 0.9026], [Date.UTC(2015,2,5,0,0,0,0), 0.9066], [Date.UTC(2015,2,6,0,0,0,0), 0.9222], [Date.UTC(2015,2,8,0,0,0,0), 0.9221], [Date.UTC(2015,2,9,0,0,0,0), 0.9214], [Date.UTC(2015,2,10,0,0,0,0), 0.9347], [Date.UTC(2015,2,11,0,0,0,0), 0.9482], [Date.UTC(2015,2,12,0,0,0,0), 0.9403], [Date.UTC(2015,2,13,0,0,0,0), 0.9528], [Date.UTC(2015,2,15,0,0,0,0), 0.9541], [Date.UTC(2015,2,16,0,0,0,0), 0.9462], [Date.UTC(2015,2,17,0,0,0,0), 0.9435], [Date.UTC(2015,2,18,0,0,0,0), 0.9203], [Date.UTC(2015,2,19,0,0,0,0), 0.9381], [Date.UTC(2015,2,20,0,0,0,0), 0.9241], [Date.UTC(2015,2,22,0,0,0,0), 0.9237], [Date.UTC(2015,2,23,0,0,0,0), 0.9135], [Date.UTC(2015,2,24,0,0,0,0), 0.9152], [Date.UTC(2015,2,25,0,0,0,0), 0.9114], [Date.UTC(2015,2,26,0,0,0,0), 0.9188], [Date.UTC(2015,2,27,0,0,0,0), 0.9184], [Date.UTC(2015,2,29,0,0,0,0), 0.9188], [Date.UTC(2015,2,30,0,0,0,0), 0.9231], [Date.UTC(2015,2,31,0,0,0,0), 0.9319], [Date.UTC(2015,3,1,0,0,0,0), 0.9291], [Date.UTC(2015,3,2,0,0,0,0), 0.9188], [Date.UTC(2015,3,3,0,0,0,0), 0.9109], [Date.UTC(2015,3,5,0,0,0,0), 0.9091], [Date.UTC(2015,3,6,0,0,0,0), 0.9154], [Date.UTC(2015,3,7,0,0,0,0), 0.9246], [Date.UTC(2015,3,8,0,0,0,0), 0.9276], [Date.UTC(2015,3,9,0,0,0,0), 0.9382], [Date.UTC(2015,3,10,0,0,0,0), 0.9431], [Date.UTC(2015,3,12,0,0,0,0), 0.9426], [Date.UTC(2015,3,13,0,0,0,0), 0.9463], [Date.UTC(2015,3,14,0,0,0,0), 0.9386], [Date.UTC(2015,3,15,0,0,0,0), 0.9357], [Date.UTC(2015,3,16,0,0,0,0), 0.9293], [Date.UTC(2015,3,17,0,0,0,0), 0.9254], [Date.UTC(2015,3,19,0,0,0,0), 0.9251], [Date.UTC(2015,3,20,0,0,0,0), 0.9312], [Date.UTC(2015,3,21,0,0,0,0), 0.9315], [Date.UTC(2015,3,22,0,0,0,0), 0.9323], [Date.UTC(2015,3,23,0,0,0,0), 0.9236], [Date.UTC(2015,3,24,0,0,0,0), 0.9196], [Date.UTC(2015,3,26,0,0,0,0), 0.9201], [Date.UTC(2015,3,27,0,0,0,0), 0.9184], [Date.UTC(2015,3,28,0,0,0,0), 0.9106], [Date.UTC(2015,3,29,0,0,0,0), 0.8983], [Date.UTC(2015,3,30,0,0,0,0), 0.8909], [Date.UTC(2015,4,1,0,0,0,0), 0.8928], [Date.UTC(2015,4,3,0,0,0,0), 0.8941], [Date.UTC(2015,4,4,0,0,0,0), 0.8972], [Date.UTC(2015,4,5,0,0,0,0), 0.894], [Date.UTC(2015,4,6,0,0,0,0), 0.8808], [Date.UTC(2015,4,7,0,0,0,0), 0.8876], [Date.UTC(2015,4,8,0,0,0,0), 0.8925], [Date.UTC(2015,4,10,0,0,0,0), 0.8934], [Date.UTC(2015,4,11,0,0,0,0), 0.8964], [Date.UTC(2015,4,12,0,0,0,0), 0.8917], [Date.UTC(2015,4,13,0,0,0,0), 0.8805], [Date.UTC(2015,4,14,0,0,0,0), 0.8764], [Date.UTC(2015,4,15,0,0,0,0), 0.8732], [Date.UTC(2015,4,17,0,0,0,0), 0.8737], [Date.UTC(2015,4,18,0,0,0,0), 0.8838], [Date.UTC(2015,4,19,0,0,0,0), 0.8969], [Date.UTC(2015,4,20,0,0,0,0), 0.9014], [Date.UTC(2015,4,21,0,0,0,0), 0.8999], [Date.UTC(2015,4,22,0,0,0,0), 0.9076], [Date.UTC(2015,4,24,0,0,0,0), 0.9098], [Date.UTC(2015,4,25,0,0,0,0), 0.911], [Date.UTC(2015,4,26,0,0,0,0), 0.9196], [Date.UTC(2015,4,27,0,0,0,0), 0.917], [Date.UTC(2015,4,28,0,0,0,0), 0.9133], [Date.UTC(2015,4,29,0,0,0,0), 0.9101], [Date.UTC(2015,4,31,0,0,0,0), 0.9126], [Date.UTC(2015,5,1,0,0,0,0), 0.9151], [Date.UTC(2015,5,2,0,0,0,0), 0.8965], [Date.UTC(2015,5,3,0,0,0,0), 0.8871], [Date.UTC(2015,5,4,0,0,0,0), 0.8898], [Date.UTC(2015,5,5,0,0,0,0), 0.8999], [Date.UTC(2015,5,7,0,0,0,0), 0.9004], [Date.UTC(2015,5,8,0,0,0,0), 0.8857], [Date.UTC(2015,5,9,0,0,0,0), 0.8862], [Date.UTC(2015,5,10,0,0,0,0), 0.8829], [Date.UTC(2015,5,11,0,0,0,0), 0.8882], [Date.UTC(2015,5,12,0,0,0,0), 0.8873], [Date.UTC(2015,5,14,0,0,0,0), 0.8913], [Date.UTC(2015,5,15,0,0,0,0), 0.8862], [Date.UTC(2015,5,16,0,0,0,0), 0.8891], [Date.UTC(2015,5,17,0,0,0,0), 0.8821], [Date.UTC(2015,5,18,0,0,0,0), 0.8802], [Date.UTC(2015,5,19,0,0,0,0), 0.8808], [Date.UTC(2015,5,21,0,0,0,0), 0.8794], [Date.UTC(2015,5,22,0,0,0,0), 0.8818], [Date.UTC(2015,5,23,0,0,0,0), 0.8952], [Date.UTC(2015,5,24,0,0,0,0), 0.8924], [Date.UTC(2015,5,25,0,0,0,0), 0.8925], [Date.UTC(2015,5,26,0,0,0,0), 0.8955], [Date.UTC(2015,5,28,0,0,0,0), 0.9113], [Date.UTC(2015,5,29,0,0,0,0), 0.89], [Date.UTC(2015,5,30,0,0,0,0), 0.895]], &quot;id&quot;: &quot;dataseries&quot;}, {&quot;shape&quot;: &quot;circlepin&quot;, &quot;onSeries&quot;: &quot;dataseries&quot;, &quot;name&quot;: &quot;Series 2&quot;, &quot;type&quot;: &quot;flags&quot;, &quot;data&quot;: [{&quot;x&quot;: Date.UTC(2015,5,8,0,0,0,0), &quot;text&quot;: &quot;Stocks fall on Greece, rate concerns; US dollar dips&quot;, &quot;title&quot;: &quot;C&quot;}, {&quot;x&quot;: Date.UTC(2015,5,12,0,0,0,0), &quot;text&quot;: &quot;Zimbabwe ditches &#x27;worthless&#x27; currency for the US dollar &quot;, &quot;title&quot;: &quot;D&quot;}, {&quot;x&quot;: Date.UTC(2015,5,19,0,0,0,0), &quot;text&quot;: &quot;US Dollar Declines Over the Week on Rate Timeline&quot;, &quot;title&quot;: &quot;E&quot;}, {&quot;x&quot;: Date.UTC(2015,5,26,0,0,0,0), &quot;text&quot;: &quot;Greek Negotiations Take Sharp Turn for Worse, US Dollar set to Rally &quot;, &quot;title&quot;: &quot;F&quot;}, {&quot;x&quot;: Date.UTC(2015,5,29,0,0,0,0), &quot;text&quot;: &quot;Euro records stunning reversal against dollar&quot;, &quot;title&quot;: &quot;G&quot;}, {&quot;x&quot;: Date.UTC(2015,5,30,0,0,0,0), &quot;text&quot;: &quot;Surging US dollar curbs global IT spend&quot;, &quot;title&quot;: &quot;H&quot;}]}]\n",
       "            option.series = data;\n",
       "\n",
       "\n",
       "            var chart = new Highcharts.StockChart(option);\n",
       "\n",
       "\n",
       "\n",
       "\n",
       " \n",
       "\n",
       "\n",
       "        \n",
       "    });\n",
       "        &lt;/script&gt;\n",
       "\n",
       "    &lt;/body&gt;\n",
       "&lt;/html&gt;\" height=520 width=820></iframe>"
      ],
      "text/plain": [
       "<highcharts.highstock.highstock.Highstock at 0x7f4d614d59d0>"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import datetime\n",
    "from highcharts import Highstock\n",
    "from highcharts.highstock.highstock_helper import jsonp_loader\n",
    "H = Highstock()\n",
    "\n",
    "data_url = 'http://www.highcharts.com/samples/data/jsonp.php?filename=usdeur.json&callback=?'\n",
    "data = jsonp_loader(data_url, \n",
    "    sub_d = r'(Date\\.UTC\\(([0-9]+,[0-9]+,[0-9]+)(,[0-9]+,[0-9]+,[0-9]+)?(,[0-9]+)?\\))', \n",
    "    sub_by = r'\"\\1\"') # data from url is not in right json format\n",
    "\n",
    "data2 = [{\n",
    "        'x' : datetime.datetime(2015, 6, 8),\n",
    "        'title' : 'C',\n",
    "        'text' : 'Stocks fall on Greece, rate concerns; US dollar dips'\n",
    "    }, {\n",
    "        'x' : datetime.datetime(2015, 6, 12),\n",
    "        'title' : 'D',\n",
    "        'text' : 'Zimbabwe ditches \\'worthless\\' currency for the US dollar '\n",
    "    }, {\n",
    "        'x' : datetime.datetime(2015, 6, 19),\n",
    "        'title' : 'E',\n",
    "        'text' : 'US Dollar Declines Over the Week on Rate Timeline'\n",
    "    }, {\n",
    "        'x' : datetime.datetime(2015, 6, 26),\n",
    "        'title' : 'F',\n",
    "        'text' : 'Greek Negotiations Take Sharp Turn for Worse, US Dollar set to Rally '\n",
    "    }, {\n",
    "        'x' : datetime.datetime(2015, 6, 29),\n",
    "        'title' : 'G',\n",
    "        'text' : 'Euro records stunning reversal against dollar'\n",
    "    }, {\n",
    "        'x' : datetime.datetime(2015, 6, 30),\n",
    "        'title' : 'H',\n",
    "        'text' : 'Surging US dollar curbs global IT spend'\n",
    "    }]\n",
    "\n",
    "H.add_data_set(data, 'line', 'USD to EUR', id = 'dataseries')\n",
    "H.add_data_set(data2, 'flags', onSeries = 'dataseries',\n",
    "                shape = 'circlepin',\n",
    "                width = 16)\n",
    "\n",
    "options = {\n",
    "    'rangeSelector' : {\n",
    "        'selected' : 0\n",
    "    },\n",
    "\n",
    "    'title' : {\n",
    "        'text' : 'USD to EUR exchange rate'\n",
    "    },\n",
    "    'tooltip': {\n",
    "                'style': {\n",
    "                    'width': '200px'\n",
    "                },\n",
    "                'valueDecimals': 4,\n",
    "                'shared' : True\n",
    "            },\n",
    "\n",
    "    'yAxis' : {\n",
    "        'title' : {\n",
    "            'text' : 'Exchange rate'\n",
    "        }\n",
    "    },\n",
    "\n",
    "}\n",
    "\n",
    "H.set_dict_options(options)\n",
    "\n",
    "H"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 2",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}
